package com.edu.medicalpro.retrofit;


import com.edu.medicalpro.bean.Doctor1;
import com.edu.medicalpro.bean.PatientResult;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.Body;

import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface addPatientInfoservice {
    @POST("/patient/addPatientInfo")
    @Headers({"Content-Type:application/json;charset=UTF-8"})
    Observable<PatientResult> addPatient(@Body Doctor1 doctor1);
}

